package boot.mq.rabbitmq.core;

import lombok.Getter;

/**
 * @desc mq 流程定义枚举
 * @author wanggang
 * @time 2025/1/16 10:26
 */
@Getter
public enum RabbitmqRoutingEnum {
    Vacation_Process_Apply( "Vacation_Process_Apply", "请假流程路由-申请"),
    Vacation_Process_Confirm("Vacation_Process_Confirm", "请假流程路由-审批"),
    ;

    /**
     * 流程路由键
     */
    private final String routingKey;
    /**
     * 路由键说明
     */
    private final String desc;

    /**
     * 构造器
     *
     */
    RabbitmqRoutingEnum(String routingKey, String desc) {
        this.routingKey = routingKey;
        this.desc = desc;
    }

    public static void main(String[] args) {

    }
}
